package com.hdaccp.shuiguoD.dao;

import com.hdaccp.shuiguoD.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface userDao {
    public String getPwdByUserName(String uname) ;
    public User login(@Param("uname") String uname,@Param("upwd") String upwd);
    public List<User> queryAll() ;
    public long getTotalCount(@Param("uname") String uname);
    public List<User> query(@Param("uname") String uname,@Param("offset") int offset,@Param("limit") int limit);
}
